package com.hnichr.ump.common.talent.library.entity;

import com.hnichr.ump.common.entity.UmpEntity;
import com.mxpioframework.jpa.annotation.Generator;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "t_talent_school_list")
@Schema(description = "学校列表")
public class SchoolList extends UmpEntity {
    @Id
    @Generator
    @Column(name = "ID_", updatable = false)
    @Schema(description = "ID")
    private String id;

    @Column(name = "SCHOOL_NAME_")
    @Schema(description = "学校名称")
    private String schoolName;

    @Column(name = "REGION_")
    @Schema(description = "学校所在国家/地区")
    private String region;

    @Column(name = "SCHOOL_TYPE_")
    @Schema(description = "学校类别 1-世界前200  2-211  9-985")
    private String schoolType;

}
